import request from '@/utils/request'

//分页
export function page(data) {
    return request({
        url: '/v1/device-notice-log/page',
        method: 'get',
        params: {
            ...data
        }
    })
}

//导出
export function exportLog(data) {
    return request({
        url: '/v1/device-notice-log/export',
        method: 'post',
        params: data
    })
}


//删除
export function deleteById(id) {
    return request({
      url: '/v1/device-notice-log/delete/'+id,
      method: 'get',
    })
  }